#!/usr/bin/env python
# coding=utf-8
# Created by han on 2016/5/8


#猜大小
num=33
print('you have input 3 count')
counter=0
for i in range(10):
    if counter <3:
        numb=int(input("think the number:"))
        if numb == num:
            print("yes,you got it")
            break
        elif numb > num:
            print('think Smaller!')
        else:
            print('think Big')
    else:
        affirm=input('do you want go on? : "Y"OR"N"')
        if affirm=="Y":
            counter=0
            continue
        else:
            print('good bye')
            break
    counter+=1

